package cn.jnetty.utils.create.dto;

import com.google.protobuf.Message;

import java.io.IOException;

/**
 * @author 猪哥亮
 * @email 1030681978@qq.com
 * @date 2020/4/20 16:42
 * 描述：
 */
public class Intsss implements PrimitiveDto<Integer> {
    private int i;
    @Override
    public Integer getValue() {
        return i;
    }

    @Override
    public void setValue(Integer value) {
        i = value;
    }

    @Override
    public PrimitiveDto deepyClone() {
        return new Intsss();
    }

    @Override
    public Message.Builder builder() {
        return null;
    }

    @Override
    public byte[] toByteArray() {
        return new byte[0];
    }

    @Override
    public Dto toInstance(byte[] buf) throws IOException {
        return null;
    }
}
